package com.club.football.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.club.football.dto.CoachSaveDto;
import com.club.football.dto.PageDto;
import com.club.football.entity.Coach;
import com.club.football.req.CoachPageReq;
import com.club.football.utils.R;

/**
 * 教练服务
 *
 * @author 1
 * @date 2024/01/09
 */
public interface CoachService extends IService<Coach> {
    /**
     * 教练扑救
     *
     * @param saveDto 将数据保存到
     * @return {@link R}<{@link String}>
     */
    R<String> coachSave(CoachSaveDto saveDto);

    /**
     * 教练页面
     *
     * @param pageDto      页数到页
     * @param coachPageReq 培训讲师页面请求
     * @return {@link R}<{@link PageDto}<{@link Coach}>>
     */
    R<PageDto<Coach>> coachPage(PageDto<Coach> pageDto, CoachPageReq coachPageReq);
}
